<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui">

    <body>

        <ui:composition template="./newTemplate.xhtml">

           
            <ui:define name="content">
                <h:form>
                    <p:panelGrid columns="2"> 
                        <h:outputText id="lblCod" value="Ingrese el codigo del Tecnico" />
                        <p:selectOneMenu id="tecnicos" value="#{hdTicketsController.codTecnico}" required="true">
                            <f:selectItems value="#{hdTecnicosController.itemsAvailableSelectMany}"/>
                        </p:selectOneMenu>


                        <h:outputText id="lblFec" value="Ingrese la fecha que desea buscar" />
                        <p:calendar value="#{hdTicketsController.fecAsignacion}" id="txtFec"  required="true"/> 

                        <h:outputText id="txtDisponibilidad" value="#{hdTicketsController.tecDisponible}" />
                        <f:facet name="footer"> 
                            <p:commandButton id="btnProcesar" value="Procesar" action="#{hdTicketsController.validaAccion()}" ajax="false" />
                        </f:facet>
                    </p:panelGrid>
                </h:form>

            </ui:define>

            <ui:define name="bottom">
                bottom
            </ui:define>

        </ui:composition>

    </body>
</html>
